#include <iostream>
#include "vectorfunctions.h"

int main()
{
	int l, i;
	float a[100], b[100], c[100];
	cout<<"Length of array : ";
	cin>>l;
	readVector(a, l);
	readVector(b, l);
	for(i=0;i<l;i++)
		c[i]=(a[i]+b[i])/2;
	printVector(c, l);
	
return 0;
}
